package liportest.testabstract;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class ConnectController {


    @GetMapping("/fa")
    public void fa() {

        Car car = CarFactory.invoke("xiaomi");

        car.drive();

    }
}
